
public class InstrumentTest {
	public static void testPlay(Instrument instrument) {

		instrument.play();
	}

	public static void main(String[] args) {
		testPlay(new Violin());
		testPlay(new Paino());
		testPlay(new Sax());

	}

}
